﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;


namespace ConsoleView 
{
    public class FileLogger
    {
        public   void Log(WeightCalc.NY_Present gift)
        {
            
            System.IO.File.AppendAllText("log.txt", "Общий вес подарка: "+gift.getWeight()+"\n\r");
        }
    }


}
